package SmartHome.dao;

import SmartHome.entity.FamilyInfo;
import SmartHome.entity.FamilyInfo;

import java.util.List;

/**
 * ClassName : FamilyDao
 * Description :
 * Author : Wang Beijia
 * Date: 2021-07-07 07:56
 */
public interface FamilyDao {
    
    public void add(FamilyInfo familyInfo);
    
    public void delete(int FamilyId);

    public FamilyInfo query(int FamilyId);

    public FamilyInfo query1(int fId);

    public FamilyInfo query2();

    public void update(int uId, FamilyInfo familyInfo);

    public List<FamilyInfo> getAll();
}
